-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(lambda-edge-adapter): Support Alternate Domain Names and Multiple Cookies in Lambda@Edge #3858
Conversation
Previously, only the CloudFront distribution name was used. Now, the Host header value is utilized for more accurate detection.
Previously, only the last Set-Cookie header was returned. This update ensures all Set-Cookie headers are processed and returned as expected.
Thanks @kentkwee ! The CI is falling. Can you take a look? Hey @watany-dev Can you review this? |
Sorry for the oversight. Wasn't aware that |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3858 +/- ##
==========================================
+ Coverage 91.32% 91.33% +0.01%
==========================================
Files 161 162 +1
Lines 10242 10263 +21
Branches 2889 2941 +52
==========================================
+ Hits 9353 9374 +21
Misses 888 888
Partials 1 1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hi @kentkwee ! Looks good to me. I'll merge it now. Thank you! |
No problem. Thank you for reviewing! |
This pull request introduces support for using alternate domain names in front of a CloudFront distribution. Additionally, it enhances cookie handling by supporting the setting of multiple cookies, addressing the previous limitation where only the last cookie was set.
The author should do the following, if applicable
bun run format:fix && bun run lint:fix
to format the code